package com.example.demo4.mapper;

import com.example.demo4.entity.Book;
import com.example.demo4.entity.Schema;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
@Repository
public interface SchemaMapper {
    Schema getSchemaInfo(int id);
    int save(Schema schema);
    int update(Schema schema);
    int deleteById(int id);
    List<Schema> selectAll();

    List selectAllByDate(Date pdate);

    int deleteByEidDateClasses(Date date, int classes, int eid);

    Schema getSchemaInfoByDEC(Date date, int classes, int eid);
}
